package cn.wgx.commons.exception.cn;

import lombok.Data;

@Data
public class CGNoPermissionException extends CgException {

    private String errorMsg;

    public CGNoPermissionException(Integer id, Integer type){
        super();
        errorMsg = "资源id:[" + id + "]没有权限.";
    }

}
